package com.kgc.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/dev")
@RestController
public class DevController {
    @GetMapping("/hello")
    public String msg(){
        System.out.println("今晚去打球");
        System.out.println("今晚去唱歌");
        return "Hello Git";
    }

    @GetMapping("/hello2")
    public String ms2(){
        return "Hello Git2";
    }
}
